package com.gao.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gao.common.utils.PageUtils;
import com.gao.common.utils.Query;

import com.gao.dao.WlPortDao;
import com.gao.entity.WlPortEntity;
import com.gao.service.WlPortService;


@Service("wlPortService")
public class WlPortServiceImpl extends ServiceImpl<WlPortDao, WlPortEntity> implements WlPortService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<WlPortEntity> page = this.page(
                new Query<WlPortEntity>().getPage(params),
                new QueryWrapper<WlPortEntity>()
        );

        return new PageUtils(page);
    }

}